
package com.wisevar.thirdplatform.gateway.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Order(3)
@Aspect
@Component
public class OpenApiClientAspect {

    @Pointcut("@annotation(com.wisevar.thirdplatform.gateway.aspect.OpenApiClient)")
    private void openApiClientPointCut() {
    }


    @Before("openApiWhiteIpPointCut() && @annotation(openApiClient)")
    public void doBefore(OpenApiClient openApiClient) throws Throwable {

    }


}
